package com.work.tz.mapper;

import com.work.tz.model.TaskTmpl;
import com.work.tz.model.TaskTmplExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface TaskTmplMapper {
    int countByExample(TaskTmplExample example);

    int deleteByExample(TaskTmplExample example);

    int deleteByPrimaryKey(Long tmplId);

    int insert(TaskTmpl record);

    int insertSelective(TaskTmpl record);

    List<TaskTmpl> selectByExample(TaskTmplExample example);

    TaskTmpl selectByPrimaryKey(Long tmplId);

    int updateByExampleSelective(@Param("record") TaskTmpl record, @Param("example") TaskTmplExample example);

    int updateByExample(@Param("record") TaskTmpl record, @Param("example") TaskTmplExample example);

    int updateByPrimaryKeySelective(TaskTmpl record);

    int updateByPrimaryKey(TaskTmpl record);
}